import java.util.Arrays;
import java.util.Scanner;

public class Java015 {
    public static void main(String[] args) {
        int[] x=new int[3];
        Scanner sc=new Scanner(System.in);
        System.out.println("Input time:x y z");
        x[0]=sc.nextInt();
        x[1]=sc.nextInt();
        x[2]=sc.nextInt();
        fun(x);
    }
    public static void fun(int[] x){
        if(x[0]>x[1]){
            x[0]=x[0]+x[1];
            x[1]=x[0]-x[1];
            x[0]=x[0]-x[1];
        }
        if(x[0]>x[2]){
            x[0]=x[0]+x[2];
            x[2]=x[0]-x[2];
            x[0]=x[0]-x[2];
        }
        if(x[1]>x[2]){
            x[1]=x[1]+x[2];
            x[2]=x[1]-x[2];
            x[1]=x[1]-x[2];
        }
        System.out.println(Arrays.toString(x));
    }
}
